#ifndef _COLLISIONMAP_H
#define _COLLISIONMAP_H

#include "Background.h"

class CCollisionMap: CBackground
{
public:
	CCollisionMap();
	~CCollisionMap();

	//so sanh voi map data de xac dinh vi tri hien tai la co the dung hay roi
	//tra ve true neu co the dung, nguoc lai tra ve false
	bool GetMapStatus(int indexHeight, int indexWidth);

	//lay tile number cua MAP[indexHeight][indexWidth]
	int GetTileNumber(int indexHeight, int indexWidth);

	//tim tileNumber theo cot column, ke tu dong row tro xuong
	int FindTileNumber(int row, int column, int tileNumber);
};

#endif